
<include file="Public:header" />
<include file="Public:menu" />
<div  id="main_content_wrap" class="container_12">
  <div class="container_12 boxbody">
    <h2>
      提现申请
    </h2>
    <div class="cb">
      <form action="" method='POST'>
        <div class="cb">
          <input type="number" name='search_phone' value="{$filter['search_phone']}" class="text size" size='20' placeholder='请输入手机号查询'/>
          <input type="hidden" name="m" value="{$m}" />
          <input type="hidden" name="c" value="{$c}" />
          <input type="hidden" name="a" value="{$a}" />
          <input type='submit' class="button listSearch" style="float: left;background-color: #6f97e9"value='搜索' />
        </div>
      </form>
    </div>
      <div class="clearfix">&nbsp;</div>
    <if condition="$num neq 0">
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
       <tr>
        <th class="c" width="" scope="col">会员名</th>
        <th class="c" width="" scope="col">手机号</th>
        <th class="c" width="" scope="col">支付宝</th>
        <th class="c" width="" scope="col">提现金额</th>
        <th class="c" width="" scope="col">备注</th>
        <th class="c" width="" scope="col">申请时间</th>
        <th class="c" width="" scope="col">当前状态</th>
        <th class="c" width="" scope="col">操作</th>
      </tr>
      <foreach name="tixian" item="item">
        <tr>
          <td class="c" scope="col">{$item.username}</td>
          <td class="c" scope="col">{$item.phone}</td>
          <td class="c" scope="col">{$item.zhifubao}</td>
          <td class="c" scope="col">{$item.apply_money}</td>
          <td class="c" scope="col">{$item.beizhu}</td>
          <td class="c" scope="col">{$item.shenqing_date}</td>
          <td class="c" scope="col">
            <if condition="$item.check eq 0">
            <a>待审核</a>
            </if>
            <if condition="$item.check eq 1">
              <a>已确认</a>
            </if>
            <if condition="$item.check eq 2">
              <a style="color: red">驳回</a>
            </if>
          </td>
          <td class="c" scope="col">
            <if condition="$item.check eq 0">
              <a href="{:U('Tixian/check',array('id'=>$item['id']))}">审核</a>
              <else />
              <a href="{:U('Tixian/detail',array('id'=>$item['id']))}">查看详情</a>
            </if>
            <if condition="$item.check eq 0">
              <a style="color: #9ca0a0">删除</a>
              <else />
              <a href="{:U('Tixian/delete',array('id'=>$item['id']))}">删除</a>
            </if>
          </td>
        </tr>
      </foreach>
    </table>
    <else />
    <h1 style="text-align: center">没有数据</h1>
    </if>
    <!-- END TABULAR DATA EXAMPLE -->
    <div class="grid_12">
      <div class="clearfix">&nbsp;</div>
      <div id="pagination">
        {$page}
      </div>
    </div>
    <div class="clearfix">&nbsp;</div>
  </div>
  <include file="Public:footer" />
</div>